Auto merge of #4477 - alexcrichton:fix-out-of-bounds, r=matklad
authorbors <bors@rust-lang.org>
Sat, 9 Sep 2017 08:13:32 +0000 (08:13 +0000)
committerbors <bors@rust-lang.org>
Sat, 9 Sep 2017 08:13:32 +0000 (08:13 +0000)
commit33250c48b4763b01478d780e76206484a1d5b207
treebf304134e6b8730ba42cf719f1153967cad16317
parentb8b66ef35fcaff16e4a07b25bbd6f6eb9aeb96bd
parent2380c9ea8569552bf0c28247890b7394d180482d
Auto merge of #4477 - alexcrichton:fix-out-of-bounds, r=matklad

Use poll instead of select to handle large fds

It may be the case that Cargo's running around with a lot of file descriptors,
and in this case we wouldn't be able to call `select` due to the file
descriptors being too large and not fitting in the bit array. This switches to
what the standard library is currently doing, using `poll`, which doesn't have
this limitations.